package cn.cs.service;

import cn.cs.common.Dto;
import cn.cs.common.Page;
import cn.cs.pojo.Product;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface ProductService {


    public Page<Product> queryProductPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize)throws Exception;

    public Dto getProInfoById(String proId,String type) throws Exception;

    public Dto showProduct(HttpServletRequest request) throws Exception;

    public Dto getAgentShopById(HttpServletRequest request) throws Exception;

    public Dto getShopPro(HttpServletRequest request) throws Exception;
}
